import {
    isUndefined
} from 'lodash'
export default function ({
    inSchool,
    todayVisit
}) {
    return {
        detailsList: [{
            "title": "截至目前在校生人数",
            "number": inSchool,
        }, {
            "title": "今日访问量",
            "number": todayVisit,
        }],
        mapData: {
            "moveLines": [{
                    "fromName": "黑龙江",
                    "toName": "郑州",
                    "coords": [
                        [126.661669, 45.742347],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "北京",
                    "toName": "郑州",
                    "coords": [
                        [116.407526, 39.90403],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "天津",
                    "toName": "郑州",
                    "coords": [
                        [117.200983, 39.084158],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "上海",
                    "toName": "郑州",
                    "coords": [
                        [121.473701, 31.230416],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "重庆",
                    "toName": "郑州",
                    "coords": [
                        [106.551557, 29.56301],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "内蒙古",
                    "toName": "郑州",
                    "coords": [
                        [111.765618, 40.817498],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "广西",
                    "toName": "郑州",
                    "coords": [
                        [108.327546, 22.815478],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "西藏",
                    "toName": "郑州",
                    "coords": [
                        [91.117212, 29.646923],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "新疆",
                    "toName": "郑州",
                    "coords": [
                        [87.627704, 43.793026],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "河北",
                    "toName": "郑州",
                    "coords": [
                        [114.475704, 38.584854],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "山西",
                    "toName": "郑州",
                    "coords": [
                        [112.562398, 37.873532],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "辽宁",
                    "toName": "郑州",
                    "coords": [
                        [123.42944, 41.835441],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "吉林",
                    "toName": "郑州",
                    "coords": [
                        [126.549572, 43.837883],
                        [113.625368, 34.7466]
                    ]
                },
                {
                    "fromName": "黑龙江",
                    "toName": "郑州",
                    "coords": [
                        [126.661669, 45.742347],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "浙江",
                    "toName": "郑州",
                    "coords": [
                        [120.152792, 30.267447],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "安徽",
                    "toName": "郑州",
                    "coords": [
                        [117.284923, 31.861184],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "福建",
                    "toName": "郑州",
                    "coords": [
                        [119.295144, 26.10078],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "山东",
                    "toName": "郑州",
                    "coords": [
                        [117.020359, 36.66853],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "河南",
                    "toName": "郑州",
                    "coords": [
                        [113.274379, 34.445122],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "湖北",
                    "toName": "郑州",
                    "coords": [
                        [114.341862, 30.546498],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "湖南",
                    "toName": "郑州",
                    "coords": [
                        [112.98381, 28.112444],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "四川",
                    "toName": "郑州",
                    "coords": [
                        [104.075931, 30.651652],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "陕西",
                    "toName": "郑州",
                    "coords": [
                        [108.954239, 34.265472],
                        [113.625368, 34.7466]
                    ]
                }, {
                    "fromName": "甘肃",
                    "toName": "郑州",
                    "coords": [
                        [103.826308, 36.059421],
                        [120.752481, 31.654376]
                    ]
                }
            ]
            // 在这里添加23个省份
        }
    }
}